package com.atguigu.spzx.manager.mapper;


import com.atguigu.spzx.model.dto.system.SysUserDto;
import com.atguigu.spzx.model.entity.system.SysUser;
import com.atguigu.spzx.model.vo.system.LoginVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 11748
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2024-06-18 16:44:31
* @Entity entity.model.SysUser
*/
public interface SysUserMapper {
    SysUser selectByUsername(@Param("username") String username);

    List<SysUser> selectByPage(SysUserDto sysUserDto);

    void insertSysUser(SysUser sysUser);

    void updateSysUser(SysUser sysUser);

    void deleteById(Long id);
}




